package com.luck.emp.cg.logic;

import java.util.List;

import com.luck.emp.cg.qry.CgQry;
import com.luck.emp.entity.EmpTCgD;
import com.luck.emp.entity.EmpTCgM;
import com.luck.emp.entity.EmpTThD;
import com.luck.emp.entity.EmpTThM;
import com.luck.pf.common.entity.UserBean;
import com.luck.pf.framework.logic.IBaseLogic;

/**
 * 说明
 * Copyright: Copyright (c) 2011
 * 深圳**科技
 * @author 
 * 
 */
public interface ICgLogic extends IBaseLogic{
	/**
	 * 保存
	 **/
	public String saveCg(UserBean userBean, EmpTCgM entity,String[] productCodes, String[] priceReals, String[] qtys, Long[] ids) throws Exception;
	/**
	 * 删除
	 */
	public String deleteCg(UserBean userBean, EmpTCgM entity) throws Exception;
	/**
	 * 查找分页信息
	 */
	public  <T> T findCgPage(CgQry qry, Class<T> cls);
	public List<EmpTCgD> findCgd(String cgCode);
}